import Vue from 'vue'


Vue.filter('priceFilter', (num) => {
  return num && num.toString()
        .replace(/^\d+/g, (m) => m.replace(/(?=(?!^)(\d{3})+$)/g, ','))
})
